package com.zy.web.demo.duoxiancheng.demo27;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/28 14:29
 */
public class ThreadA27 extends Thread {

    private ShenChan27 shenChan27;

    public ThreadA27(ShenChan27 shenChan27){
        this.shenChan27 = shenChan27;
    }

    @Override
    public void run() {
        super.run();
        for (int i = 0; i < Integer.MAX_VALUE ; i++) {
            shenChan27.set();
        }
    }
}
